<div id="content_header">
  <h3>{{ currentCourseType.Name }} Editing</h3>
</div>

<div class="row">
  <div class="col-md-6 col-lg-6">
    <form name="courseTypeForm" role="form" ng-submit="updateCourseType()">

      <div class="form-group" ng-class="{ 'has-error': errors.Code}">
        <label class="required" for="Code">Code</label>
        <input type="text" name="Code" class="form-control" id="" placeholder="Input field" ng-model="currentCourseType.Code" required>
        <error-widget field="errors.Code"></error-widget>
      </div>

      <div class="form-group" ng-class="{ 'has-error': errors.Name}">
        <label class="required" for="Name">Name</label>
        <input type="text" name="Name" class="form-control" id="" placeholder="Input field" ng-model="currentCourseType.Name" required>
        <error-widget field="errors.Name"></error-widget>
      </div>

      <div class="form-group" ng-class="{ 'has-error': errors.Note}">
        <label class="required" for="Note">Note</label>
        <input type="text" name="Note" class="form-control" id="" placeholder="Input field" ng-model="currentCourseType.Note" required>
        <error-widget field="errors.Note"></error-widget>
      </div>

      <!-- <div class="form-group">
        <label for="">
          Description
        </label>
          <span class="error" ng-show="courseTypeForm.description.$error.required">Required!</span>
          <textarea name="description" class="form-control" cols="30" rows="10" placeholder="Input field" ng-model="currentCourseType.Description" required></textarea>
      </div> -->

      <button type="submit" class="btn btn-primary" >Submit</button>
    </form>
  </div>
</div>